import upload from '@/utils/uploadfile'


// 用户头像上传
export function uploadHeaderImage(data) {
  return upload({
    url: '/uploadphoto',
    name: data.name,
    filePath: data.filePath,
	header: {
	  isToken: true
	},
  })
}


